<template>
  <div class="app">
    <div class="app__view" :class="{havePadding: !noTabbar}">
      <router-view></router-view>
    </div>
    <xg-tabbar v-if="!noTabbar"></xg-tabbar>
  </div>
</template>
<script>
  import xgTabbar from "./component/tabbar.vue"
  export default {
    components:{ xgTabbar },
    data(){
      return {
        noFullPage:[
          'home',
          'refund',
          'me'
        ]
      }
    },
    computed:{
      noTabbar(){
        return !this.$util.inArray( this.$route.name , this.noFullPage )
      }
    }
  }
</script>